Made app usable with other model than User