Registration update

Database input fixed. Server upload still not working.