fixed a bug on authentication
corrected badge set code
changed notifications policy