Added in Login/Logout functionaliy