early current_user_can causes Fatal error

May I propose other improvements?
I'd like to have more WP-like HTML element structure.