Adding register+logout