change login and cookie