Redirect to dashboard on user creation and login