As we discussed Jaideep. Thanks for your help.
Brief description, based on our discussion of tasks needed.
Add sessions management(maintain sessions of every logged user).
Fix site files and database management based on appropriate workflow.
Here are the details:
1) There are 3 sections, Admin/Client/Trainer, with each having different roles.
2) Admin:- The role of the admin is, once a new client comes in, the admin enters his details, and creates goals, logsheet and assigns trainer to the client. The admin also maintains the records of the trainers.
3) Client:- Once the client logs in, he gets to see the trainer assigned and his goals, logsheet etc. The client can ONLY VIEW the goals and not change them. The client can enter the details in his own logsheet
4) Trainer:- Once a client is assigned to the trainer, the trainer creates a list of exercises (exerciselog), beverages, diet etc for the client (Trainer can CREATE ONLY FOR CLIENTS ASSIGNED TO HIM), based on the goals set by the admin. The trainer also maintains his own logsheet.