storing username for appointment collection