Fixed some Null pointers

Membership is now working to the point that I can get through to the
profile page of the user I was logging in at. Registration is confirmed
working. I fixed some of the views so that they are no longer causing
NullPointerExceptions.