cleaned up code for sign up page and title page