Login Function

--- Php Data conversion