adding load funtion to AdminPostController@edit