Refactored the authentication functionality: moved all the classes into a new, single package named security