Authenticate user on contacts route
Error handler