replaced angular-cookies with persist.js, since ngCookies did not seem to work on android phone