then admin Y page checks if session user and admin is filled
and admin N page checks if session user is filled. The code on those pages are right(i think), but It's probably my method of going about this is wrong.
The first glaring issue I see is that you are using one = instead of two (you need two to compare values, ie. 'is equal to') and you have not put your Y and N in quote marks (as they are not integers), they should be
if ($count > 0) && ($admin == 'Y')
if ($count > 0) && ($admin == 'N')
However I also don't know where your $admin variable is being set and assigned a value so that could also be causing a problem.