use custom user object in applicationController