Registration of users now functional

- Registration form now works
- escape_string now after connection to server occurs