added patron authentication and views