User session is now checked on load and fixed some bugs