Implemented add memebr logic (frontend)