created a new user_data class to abstract model