[GAE Server] Refactored code for 'forget_details'