Moved the user database from SystemApplication to Sphere so that data can be received and sent with the TCP server. Also fixed several small bugs.