Registration servlet and code in, but it is not functioning