refactor the authentication module
ignore data