Added function for providing temporary passwords for user and notifying those by email