User can now upload files and appropriate entries are made in the database.