Redirecting to root after successful login