Implementing functionallity behind subscribe button