Added few more comments in user_detail_controller.rb & api_methods.rb