gloo new layout and login function