login is now working fine in all situations. need to find a way to present the split view controller.