dealt with solving some issues

main issue was to do session management to a new window tab of the
browser