add login and registration