basic login -logout added. Closes #3