I'm not sure I like what I see. Is that module supposed to keep track of user authorization? (The name and some of the methods would suggest so.) If so, what's the HTML doing in there? That would certainly not be the place to store it.
Makeshifts last the longest.