added code for user create page