#fb fixing a typo
#fb bugfix: check if username is empty (causes firebase exception if undefined)