added login and registration routes