updated registration form to include class to support direct image upload; added error handling for picture controller