login and registration views working