update the login layout