Added tests and UI for login logout with devise