added sharing files and email notification on registration