added timestamp and loggedin variable to usercalls.js