validate login+register
cosmetic changes