layout only shows buttons if logged in, and is now in haml