* small bug fixes in user resource