replace with progressview upon login button click as suggested by tkriz