added cookies, custom login buttons