no need for if else statement

Signed-off-by: Andre Dublin <81dublin@gmail.com>
one var statement

Signed-off-by: Andre Dublin <81dublin@gmail.com>
formatting, and setting up sessions

Signed-off-by: Andre Dublin <81dublin@gmail.com>