Added response messages for register. Fixed library routes.