Added way of testing login to pages route