Add test for pledging and small details

* Add flash error
* Customize not-logged-in behaviour
* User has many pledges