added active record and post request
forces capitalization and redirects to error page
added edit and destroy for galleries and add new images