Token expiry and implement remember me checkbox functionality