Added basic sign in/sign out/sign up functions.