Adding signout functionality. Fixed applied.