UI hooked up to db stuff