Fix typos and redirect to new url on unsuccessful login