created login and registration page