Changed Log-Out Button Position

Changed some setCookie code in application.js as well.