manually created login and registration