add show and hide and refresh to login div