improved login error handling
migrated to sessions
updated changes
linked personal pdp database to page/ changed initialisation