added better errors
added admin? method
added before actions