add code to take care of user logs. in Mastersite