added login buttons and moved header to its own template