replace ng cookies with ng cookieStore to store token