Got the Flash Messages Working

As well as cleaned up some code in the user model