Adjusted layout login and index to play well with foundation