Adding sign in / sign out button functionality