Remove methods to use for each urls from config.

And spaces on the end of lines were also removed.
Implemented a login method and some refactoring.