adjusted user authentication