Refactored the get user achievements