Laravel tutorial applied from http://laravelbook.com/laravel-user-authentication/