implement header_bar and login block