redirectTo redirects users that complete login or registration. Users who are already logged in and try to register or log in again will be redirected by app/Http/Middleware/RedirectIfAuthenticated.php
if (Auth::guard($guard)->check()) {
return redirect('/home');
}