Store username in permanent cookie