Fixed import error in common.py
Error handler now supports functions that returns None.
Database: Username and token uniqueness, suspended flag, and serialization feature.
Updated user model
Added API authentication.