added auto layout constraints to home page