bugfix for refresh_profiles() method
replaced current_user_can with check_roles