generated pledge model and added associations
Tests for pledges added
added login error