add methods to DatabaseAccess class
fix error where messages don't show up when textboxes are empty
minor changes to MainActivity and ProfileDatabaseHelper