setup authentication methods
support sign in feature
add sign out functionality
fix sign-out issue