Login and shell prompt fix

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>