quick fix to login return value.