logout implemented, get current user on application start