Don't store local variables for the state of the user_type just whack them straight into the template.