def create
      redirect_to home_path and return unless @group.member?(current_user)
      user = NippoCore::User.find(params[:group_member_relation][:user_id])
      current_user.add_member(user, @group)

      redirect_to group_path(@group)
    end
def create
      redirect_to home_path and return unless @group.member?(current_user)
      user = NippoCore::User.find(params[:group_member_relation][:user_id])
      current_user.add_member(user, @group)

      redirect_to group_path(@group)
    end
TODO: Implement test