index and login pages updated and actual diary page added. update php file added too.