Added cookie expiration/fixed remember login