Auth &sessions done. Login and registration done.

Need to clean some stuff up.