Updated erd + issue inlog

Read up on php and classes. ERD should be closer to intended format.

Can't login. I get blank pages after registration and login. See
comments in config.php and index.php for suggestions.