dev && prod login support