removed excess code from registration page
removed excess code from login page