update utils and test for utils
login with cookies
fix test
modified model of user
fix bug