created login and registration pages