Adding fix for ajax-redirect to login page from wordbook page, changing
div with clear: both to :after, moving roles to login manager.