Added functionality for account creation