new links, fixed redirection on login, registration validation