add upload function to form
start fixing uploads
remove public/public
fix upload path
fix uploads
fix constant name
fix index varible
fix controller redirect