Starting to setup autologin (checkin for cookies while getting the posts from the db) - not completely implemented yet