add login && registration methods and views