User authentication added ch8