adds a few more routes
updates most controller logic. had some copy-paste errors that ive fixed and just other logic errors
fixes the to_json method of the user model, now it properly works
adds public/system/ to .gitignore
fixes register and login routes
adds file download logic in uploads#show method