added framework for gui login