added module for handling user authentication