Added register page and db connection.

Added the main idea of the register page with backend functionality.