adding logout button
adding templates