added ping function to User model and auth.view to record created time in db