please check attached files.
i want you to edit them in way they will meet the requirements
What I remember also, that we need just to edit the files that I'll give you then we need to have two different account, every account has his own logarithms "data", and about passwords use hash passwords encryption
and the DB we need three tables, accounts, logarithms , account and logarithms join something like that
please tell me when you have any question