Create sign out function in views layout