added a bunch of stuff for image uploading and user registration