Fix and Features Addition

Making login case insensetive
Moving DB folder to install folder as it won't be required after
installation.