Add dynamic profile photo upload and js for pro-profilecreate page and refactor routes and middleware