Locally working version to sign in/out

 - no longer creates dupes of user