Adding login structure