Added debugging for credentials login