Added graphs.
Workaround for weird php array index bug.
Fixed a bug with getting users from database.