Adds account controller api