changed variables in js file
updated js file to save frequency after logout. changed frequency html button
fixed merge confict