added subscribe_user functionality