adding rest service for getting registration by user