fixed a few issues regarding session and a few things in the front-end as well