Added link expiration function for the password recovery