move build category contacts view to function, send new contact to database and call it
routine to change a birthdate to an age