login now uses server object to check first attribute and also accounts prepopulate when you add an app key for the first time