Bug Fix Login Check and DB CaseSensitivity