I have been recently started learning iOS programming using Swift language. I managed to somehow put the elements on the page and interact with them. Now, in my sample application, I have a login screen, when user enters username and password, I send the details to my web service and get status success or failed.

I managed to show an alert when authentication fails. When success, how do I navigate to home scene or replace the current login scene programmatically. I have researched over the internet and found no solution. Please help

EDIT: 
I am using story boards on xcode6 beta