added login page,loading etc.