Added account/middleware for session check
Merge branch 'apps/account' into dev