Fixed db requests, improved styles