[utils] Add db connection, basic get/set functions, and login validation

Signed-off-by: Stefan Prisca <stefan.prisca@gmail.com>