Get logout, and user logged in status working properly.