userAuth and dateformat fixes