Added redirects to actions for login/register instead of redirecting to
the jsp pages