Add ajax loader gif and use custom login page