make the login and validate a view of a view so we can maintain the url