some minor updates

updated db structure, added 403 error, only jpg/jpeg/png files can now
be uploaded