Fixed a bug and store the current user in NSUserDefaults so that we can save state somewhat