eliminated unused code
Added log out, and made multiple users possible