Added documentation for logging into database
Added license file