Add: necessary libraries for database connection
sql query eddited(check for username)