made login check for both serverside and slicent side
made form validation for product edit