Login activity and main activity added.