updated portal for login errors and urls