added UUID generation and using them as session ids