Added user last login and fixed password reset link expiry issue