Fix XSRF issues, finished frontend integration + styles