added login views and models