refactor clean up into base view
fix for scroll bug and begin user view
fix frontend login bugs