Added logout script
Added logout to form