Created an awesome middleware to remove most code bloat dealing with checking user sessions.