Signin and signout functionality truly implemented.