store baseUrl in the database upon the install