setup controller and method to create account from modal