Added sign in and sign up functionality.