Combined sessions + db into one login system.