added alert to posts when not signed in