group(function () { Route::get('/list', "UrlShortenerController@viewList"); Route::post('/web/change/password', "SecurityController@formChangePassword"); }); Route::post('/web/login', "SecurityController@formLogin"); Route::post('/web/forgot', "SecurityController@formForgotPassword"); Route::post('/web/register', "SecurityController@formRegister"); Route::get('/web/logout', "SecurityController@formLogout");