add : method to check subscriptions

added method to check if a user is already subscribed to a topic