refactor icon span into helper method 'get_icon'
Inactive users cannot log in

This is phase I, it works by logging out users who are inactive.
Phase II will work by denying users before they actually log in.

Ref: https://github.com/plataformatec/devise/wiki/How-To:-Require-admin-to-activate-account-before-sign_in