login,gui and update