Adding modifications of SignIn & Signout functions