separated errortype enum
finished login screen GUI, limited functionality.