Removed seperate portal for admin login, added isAdmin boolean value in schema of user model
moved the vacancies div to the admin page, add a role to the user schema instead of isAdmin boolean. The default role is set to USER
added a roles to the site variable in the dashboard.js route. In the dashboard view, if the user has a role = ADMIN then they can view the vacancy menu option. Currently, you would have to manually change the user's role to ADMIN in the database until futher functionality is implemented
Removed adminUser model and tempAdmin model.
Removed seperate portal for admin login, added isAdmin boolean value in schema of user model
moved the vacancies div to the admin page, add a role to the user schema instead of isAdmin boolean. The default role is set to USER
added a roles to the site variable in the dashboard.js route. In the dashboard view, if the user has a role = ADMIN then they can view the vacancy menu option. Currently, you would have to manually change the user's role to ADMIN in the database until futher functionality is implemented