changed to use new nxtgn design

With the help from https://github.com/TjaLfE/cps.nextgen/ i have fixed so we can login and search with the new design.
most code is from  https://github.com/TjaLfE/cps.nextgen/ and i did some markup and changed the behaviour with categories.