Extract method to create account