Cleaned up some server code.
Server's get admin password action is still buggy.