add login to home view