Fully functional sign in button and logout button