added user creation functionality to gui