sign out function added