bringin' the Rails back
login/logout stuff
OK... this is a big mess