added a login page and registration page