Added sign up functionality and test for sign up page