make it possible to use custom current_user in host application