fixing bug wich caused that login activity was not loaded on start