Fixed some small issues and problems ... identitty works properly now
Need to use session variables to checkf or identity