GUI implemented, bug found

Implement the GUI interface using the inherited class from a common
GUI. When I tried to connect to the server, I found the new user
created by admin will get a "null" initial password. It seems to be the
problem in model.createUser()