Need Help with steam subsystem (host instantly disconnects)

I am developing a game that will use steams online multiplayer systems. The game will create a session and I am able to connect to the session when I am not signed into steam, everything works as it should. the problem arises when I do sign into steam and try to host a session ,the will game instantly disconnect and return me to the main menu.

I have search through forums online and cannot find out why this is happening anywhere.

If anyone knows why this is happening and of a way I can fix this that would be greatly appreciated