working on the signout fucntion