Fixed SQL username bug