finished new post. fixed bugs in signup/ signin and session handling