added column regid to users table and implement method for push notifications