change layout of navbar and replace file_field