Moved login form to index, because of validation issues of 2 form on 1 page.