Almost done

Need to fix reloading of page, user has to stay logged in.