change login activity as the main activity