sign-up and log in system (HIVE assignment)