fixed #94 username should not be case sensitve when logging in