Added sign-in/out/signup functionality