Update views.
Improve database access module.
Fix some issues with database. Add user registration.