added login and registration php