render logo in a separe function