Recently viewed on index.jsp loads based on cookies set by visiting resource.jsp. Null pointer bug in DatabaseController fixed.
Merge origin/master