login and logout work for real now
login, logout and register work now