simple login system and user registration

playing with routes, validation and RESTful controllers.