adds code for user registration
adds link to the login page