added new pages and started to implement database