adds some user authentication steps