Added basic login & logout.