Refactor: Remove status code in controller