login gui flow