Refactor front & sign up pages