GUI stage 1

Added GUI functionality to the LoginState from the context