Added a test for the user recommendation
Implemented the function for recommendation