Register/Delete robots on web browser

Other changes:
- Fix bugs
    - Use 'reason' instead of 'message' as a key
    - Set 'reason'
- Syntax check for some codes using flake8