Working web portal for MiddleServer

Location of log file was changed
Admin can now change databases details such as
database address
database name
database username
database password
all these information is stored in a configuration file, which admin can
update from web portal
If configuration file doesn't exists, login page will redirect admin to
a page where he can enter these details, which are then tested if these
databases are accessible, if that passes admin can now create username
and password for admin account.

Each database method is now accessing data from configuration file.