Implemented a login status boolean for controllers