refactored general completions
refactored user completions
refactored connectionCommpletions
refactored databaseComletions
finished refactoring for completions