check session in get user on custom