signin integrated with other pages

a small issue wth fetching viewbag value inside js controllers to be
fixed