added curl login