Improved code to read json file that was opening the file 3 timesgit st. And changed the login code to make possible to a user that is department member and is a scientific council member use the application and do things in both sides