Updated foundaiton version
Added logout functionallity