DB connection config is seperate
fixed routing after logging in
using predefined DB constants to connec to DB