Hide Options when not admin user
Updated offline and online models
fix error bug
Fixed test bug