create account saves data in database