Added backend php for filter. some style tweaks in reguards to filter.