create spec register/login methods