Is your feature request related to a problem? Please describe.
Currently, the PrefectType can display the coordinator related with the particular prefect. A similar thing is to be done with CoordinatorType. Add a field to display the corresponding prefect.
Describe the solution you'd like
Add a field in the Coordinator Schema to store prefect id.
In the Coordinator field use this prefect id to fetch the prefect details
While creating a new user (be that any of the 4 types), the user is directly saved to the database without checking if there exists a previous user with same details.
Expected behavior
Before saving to the database, checks should be made to see if an existing user with the same Roll Number exists or not. If not, proceed with saving. If yes throw an error.
Currently, the mentor query just returns the prefect ID. Requires modification to get the prefect details in the mentor query. Use the prefect ID to query the prefects collection and get the prefect details.