added pagination, better navbar, logout