def self.registered(app)
    app.get self.api_path, &get_logins
    app.get self.api_path_with_id, &get_logins
    app.post self.api_path, &create_login
    app.put self.api_path_with_id, &update_login