Big updates

Working db connection + login