Fixed Login Action and Redirects.