Added case sensitivity tests + user model refactor