Adding the logic for User