Update border color
Implement logout