Started adding exceptions
Starting working on authorization
Added exceptions for invalid clients and http 401 response
Added function to verify the client