Checking for logged_in for editing and attending a event