Add next url for login function