Added rack sessions and fixed user can post test