generate account controller