Added registration and login/logout functionality.
So far, this doesn't really affect anything except the view.
TODO: permissions.... later
Was missing a bunch of files in last commit... coding in a rush is a bad idea