Refactored PingServer, added account creation/login to frontend