Functional logout and prefilled signin