Added model and user logged in state.