fixes for role, status and last login