Sign-up functionality added + corresponding tests.