Strict xhtml validation for the admin page and correct a wrong redirection bug