Added ability to logout once signed in