Validate user Session on state change

When client changes from one state to another we now check if we are
allowed transition to the target state. Also added Logout capabilities
and changed Right sidebar Icon