Added registration page

Added the registration page, and processing in the controller file, and
also deleted the unnecessary smart_socket_insertion.sql file