login protected page editing and saving to the database now works. still have to implement on faq and contact pages