changed the layouts of posts & fixed the problem in uploading profile image