moved jquery, added logout stuff