change layouts for sessions and users. Add js