Add phpCAS as composer dependency, resize images in daymail, presist sessions