add login and register view