now with models and new authEvent