added pagination
added 404
fixed bugs