Adding user authentication