Added login controller to iOS