Fix login and register in front page.