Fixed two bugs: sign up and pages