function uni_auth (
    p_username in varchar2,
    p_password in varchar2 )
    return boolean
is
    l_count pls_integer;
begin
    select count(*) into l_count from uni_users where emp_name = p_username;
    if l_count = 1 then
        return true;
    end if;
    return false;
end;