refactored signup1