Adds user registration and authentication

Inclues login flashes