Login user upon registration

Upon registration the user is now automatically logged in and redirected to the protected area.

Signed-off-by: Emanuele <feliziani.emanuele@gmail.com>