moved all into one script, added logout