registration validation

server side validation to check exiting users