added logout to user pag