third commit. Added Database access and encryption of id.
third commit. Added Database access and encryption of id for verification link.