Adding checking if login exists.