Added code for sign out