adding before filters and security but eliminating it on secure_photo_display. redirecting to splash if not logged in.