entity models and register page modify