added authentication and authorisation. Added pagination and generating of sample users