fixed foreignKeyConstraint for members_categories

Improved MemberController.
Using session FlashBag-Messages now.