works as long as the session actually has a value... sigh damn session won't work