Tested push notifications, consolidated related functions, updated registration/login to take a password hash