change media file upload locations and added name and last name generation to displayId
fix bugs