I think your cat is just jalous !!! Was used to have only you around ; and now , there's your friend !!! Animals can react just like small kids . But with a bit of patience and lots of love and petting , it will be okay !!!!
I wish you much luck !!!!

http://community.webshots.com/user/sydneybilliepets