added code for updating user_role and user_property tables. Also added code that generates a small file that store the start and end time