Add documentation for database.js
Add input sanitization and more documentation
Add basic login functionality and logic
Merge branch 'master' of https://github.com/GlimmerLabs/MathOverImages