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