Stores email and password in keychain and session in NSUserdefaults