changed cookie time to 30 days