testing login properly