Login Log Out Issues

Fixed issue where when there is no user the app crashes.