added isset
Added user verification