Added errorhandler for 404 and 500
Handle unique nickname error