adding login NSUserDefaults