So I have a very basic MongoDB Spring-Boot application and I am trying to setting up Spring Security in a way so that while logging in it will first check if the current user ha