added login and changed chart