First version of connection:
COnnect to db,
check if user passed correct credentials