Revise custom login logo function