link submit login to php/functions