php fixing for accounts

page creation now pulls up error message if not enough information is
provided.