Resolved #29. Resolved #30.
Refactored login to store user list in the database, to avoid conflicts between different backend processes.