setting up login, logout capabilities
same as phase10 commits