added initial addProfile() and getProfile()

untested and possibly invalid SQL queries