added login structure