refactored user specs