added legitimate authorization system and register screen