added layout, added devise, added initial ajax loading posts